# _*_ coding: utf-8 _*_
# @Time : 2024-01-16 22:00
# @Author : wf

import urllib.request, urllib.error

# url = 'https://blog.csdn.net/HackerKevon/article/details/135046209'
url = 'https://blog.csdn.net/HackerKevon/article/details/1350462091'

try:
    request = urllib.request.Request(url)

    response = urllib.request.urlopen(request)
    content = response.read().decode('utf-8')
    print(content)

except urllib.error.HTTPError as e:
    print("系统异常，请稍后", e)
except urllib.error.URLError as e:
    print("系统异常，请稍后", e)
